package com.firewolf.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.firewolf.dao.NewsMapper;
import com.firewolf.pojo.News;
import com.firewolf.service.NewsService;

@Service
public class NewsServiceImpl implements NewsService{

	@Autowired
	private NewsMapper nDao;
	
	@Override
	public List<News> list() {
		return nDao.list();
	}

}
